package com.graduation_design.service;

import com.graduation_design.entity.AppAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 从南
* @description 针对表【app_address】的数据库操作Service
* @createDate 2024-02-16 18:15:58
*/
public interface AppAddressService extends IService<AppAddress> {

    AppAddress getDefault(long userId);

    List<AppAddress> listByUserId(long userId);

    void saveAndDefault(AppAddress appAddress);
}
